import "./App.css";
import ShowBooks from "@/components/ShowBooks";
import { Routes, Route } from "react-router-dom";
import SingleBook from "@/components/SingleBook";
import NotfoundPage from "@/components/404";
import RenderBack from "@/components/comp/RenderBack";

function App() {
  return (
    <>
      {/*<RenderBack></RenderBack>*/}

      <Routes>
        <Route path="/" element={<ShowBooks />}></Route>
        <Route path="/book/:id" element={<SingleBook />}></Route>
        <Route path="*" element={<NotfoundPage />}></Route>
      </Routes>
    </>
  );
}

export default App;
